package com.fruit.web.bo;

import com.fruit.web.bo.impl.Productunit;
import com.fruit.web.bo.impl.Stakeholder;

/**
 * AbstractProduct entity provides the base persistence definition of the
 * Product entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public abstract class Product extends java.lang.Object implements
		java.io.Serializable {

	// Fields

	private Long id;
	private String code;
	private String manufacturerCode;//�����ͺ�
	private String barcode;//�����
	private String spec;//���
	//private Productunit unit;//��λ
	private Integer stockLowerNumber;//�������
	private Integer stockUpperNumber;//�������
	private Integer currentNumber;
	private String imageName;//ͼƬ���//主要的一张图片,功页面显示
	private String imageOther1;
	private String imageOther2;
	private String imageOther3;
	private String imageOther4;
	private String name;
	private String description;
	//private Stakeholder provider;
	//private Integer providerId;
	private String primaryCategoryCode;
	//private Integer primaryCategoryId;
	//private String secondCategoryCode;
	//private Integer secondCategoryId;
	private String brandCode;
	//private Integer brandId;
	private String status;
	private java.sql.Timestamp timeToMarket;
	private Double purchasePrice;//进货价
	private Double tradePriceOne;//市场假
	private Double tradePriceTwo;//促销特价
	private Double retailPrice;//销售价
	private Double integration;
	private String introduceFileName;
    private boolean promotional;
    private Double percentageOfPro;
    private Long viewInt;
	// Constructors

	/** default constructor */
	public Product() {
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getManufacturerCode() {
		return manufacturerCode;
	}

	public void setManufacturerCode(String manufacturerCode) {
		this.manufacturerCode = manufacturerCode;
	}

	public String getBarcode() {
		return barcode;
	}

	public void setBarcode(String barcode) {
		this.barcode = barcode;
	}

	public String getSpec() {
		return spec;
	}

	public void setSpec(String spec) {
		this.spec = spec;
	}

	public Integer getStockLowerNumber() {
		return stockLowerNumber;
	}

	public void setStockLowerNumber(Integer stockLowerNumber) {
		this.stockLowerNumber = stockLowerNumber;
	}

	public Integer getStockUpperNumber() {
		return stockUpperNumber;
	}

	public void setStockUpperNumber(Integer stockUpperNumber) {
		this.stockUpperNumber = stockUpperNumber;
	}

	public Integer getCurrentNumber() {
		return currentNumber;
	}

	public void setCurrentNumber(Integer currentNumber) {
		this.currentNumber = currentNumber;
	}

	public String getImageName() {
		return imageName;
	}

	public void setImageName(String imageName) {
		this.imageName = imageName;
	}

	public String getImageOther1() {
		return imageOther1;
	}

	public void setImageOther1(String imageOther1) {
		this.imageOther1 = imageOther1;
	}

	public String getImageOther2() {
		return imageOther2;
	}

	public void setImageOther2(String imageOther2) {
		this.imageOther2 = imageOther2;
	}

	public String getImageOther3() {
		return imageOther3;
	}

	public void setImageOther3(String imageOther3) {
		this.imageOther3 = imageOther3;
	}

	public String getImageOther4() {
		return imageOther4;
	}

	public void setImageOther4(String imageOther4) {
		this.imageOther4 = imageOther4;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getPrimaryCategoryCode() {
		return primaryCategoryCode;
	}

	public void setPrimaryCategoryCode(String primaryCategoryCode) {
		this.primaryCategoryCode = primaryCategoryCode;
	}

	/*public String getSecondCategoryCode() {
		return secondCategoryCode;
	}

	public void setSecondCategoryCode(String secondCategoryCode) {
		this.secondCategoryCode = secondCategoryCode;
	}*/

	public String getBrandCode() {
		return brandCode;
	}

	public void setBrandCode(String brandCode) {
		this.brandCode = brandCode;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public java.sql.Timestamp getTimeToMarket() {
		return timeToMarket;
	}

	public void setTimeToMarket(java.sql.Timestamp timeToMarket) {
		this.timeToMarket = timeToMarket;
	}

	public Double getPurchasePrice() {
		return purchasePrice;
	}

	public void setPurchasePrice(Double purchasePrice) {
		this.purchasePrice = purchasePrice;
	}

	public Double getTradePriceOne() {
		return tradePriceOne;
	}

	public void setTradePriceOne(Double tradePriceOne) {
		this.tradePriceOne = tradePriceOne;
	}

	public Double getTradePriceTwo() {
		return tradePriceTwo;
	}

	public void setTradePriceTwo(Double tradePriceTwo) {
		this.tradePriceTwo = tradePriceTwo;
	}

	public Double getRetailPrice() {
		return retailPrice;
	}

	public void setRetailPrice(Double retailPrice) {
		this.retailPrice = retailPrice;
	}

	public Double getIntegration() {
		return integration;
	}

	public void setIntegration(Double integration) {
		this.integration = integration;
	}

	public String getIntroduceFileName() {
		return introduceFileName;
	}

	public void setIntroduceFileName(String introduceFileName) {
		this.introduceFileName = introduceFileName;
	}

	public boolean isPromotional() {
		return promotional;
	}

	public void setPromotional(boolean promotional) {
		this.promotional = promotional;
	}

	public Double getPercentageOfPro() {
		return percentageOfPro;
	}

	public void setPercentageOfPro(Double percentageOfPro) {
		this.percentageOfPro = percentageOfPro;
	}

	public Long getViewInt() {
		return viewInt;
	}

	public void setViewInt(Long viewInt) {
		this.viewInt = viewInt;
	}

	

	/** minimal constructor */
	

	

}